Correct resolution of non-virtual directory names on Android
authorPo Lu <luangruo@yahoo.com>
Tue, 18 Jun 2024 06:41:26 +0000 (14:41 +0800)
committerPo Lu <luangruo@yahoo.com>
Tue, 18 Jun 2024 06:41:26 +0000 (14:41 +0800)
commit6a162be6a8f4681d3465fac7573b9f42cfbeaefb
tree70c058e2a5fe4001d81342bf7c4b0a44ed96675e
parent3c2df93e063761ee78b25157c689b6d26210f80b
Correct resolution of non-virtual directory names on Android

* src/androidvfs.c (android_vfs_canonicalize_name): Correct
return value in cases of underflowing the directory stack.
(android_unix_name): Reset vnode operations vector of copied
vnodes to their standard value, and exclude virtual directories
from subdirectories of the root directory's parent directory.
(android_root_name): Adjust to match.
src/androidvfs.c